import request from '@/utils/request'
const PATH='/crm/clueTrack';
// 新增线索
export function addClueTrack(data) {
  return request({
    url: PATH,
    method: 'post',
    data: data
  })
}

export function falseClue(data) {
  return request({
    url: PATH,
    method: 'PUT',
    data: data
  })
}

export function transform2Business(data) {
  return request({
    url: `${PATH}/transform`,
    method: 'PUT',
    data: data
  })
}

export function resetClue(id) {
  return request({
    url: `${PATH}/transform`,
    method: 'PUT',
    data:{id:id,record:'重新捞取线索'}
  })
}
